<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<h:head>
</h:head>

<h:body>
	<p:layout id="index_layout" >
	<p:layoutUnit position="center">
		<h:form>
			<h:panelGrid columns="2" cellpadding="5">
				<f:facet name="header">
					Witaj w systemie HRM
				</f:facet>
				<h:outputLabel for="name" value="Użytkownik: *" />
				<p:inputText id="name" value="#{mUser.name}" />
				<h:outputLabel for="password" value="Hasło: *" />
				<p:password id="password" value="#{mUser.password}"/> 
				
				<p:commandButton id="addUser" value="Login" action="#{mUser.addUser}" />
			</h:panelGrid>
		</h:form>
	</p:layoutUnit>
		
	</p:layout>
</h:body>

</html>
